module Pdns
    newrecord("bar.my.net") do |query, answer|
        answer.qclass query[:qclass]
        answer.qtype :CNAME
        answer.ttl 3600

        answer.content "foo.my.net"
    end
end

# vi:tabstop=4:expandtab:ai:filetype=ruby
